package com.ktwlrj.securitycenter.service;
import com.ktwlrj.core.base.SuperServer;
import com.ktwlrj.securitycenter.controller.args.SafeCredentialInfoArgs;
import com.ktwlrj.securitycenter.dto.SafeCredentialInfoDto;
import com.ktwlrj.securitycenter.entity.SafeCredentialInfoEntity;

import java.util.List;

/**
 * 要件详情表(SafeCredentialInfo)业务层接口
 *
 * @author code generation
 * @date 2020-02-24 18:08:13
 * @since JDK1.8
 */
public interface SafeCredentialInfoService extends SuperServer<SafeCredentialInfoEntity> {
    /**
     * 保存
     *
     * @param args ${@link SafeCredentialInfoArgs}
     * @throws RuntimeException ${@link RuntimeException}
     * @author code generation
     * @date 2020-02-24 18:08:13
     */
    void save(SafeCredentialInfoArgs args) throws RuntimeException;


    /**
     * 批量保存
     * @param args
     * @throws RuntimeException
     */
    void batchSave(List<SafeCredentialInfoArgs> args) throws RuntimeException;


    /**
     * 条件查询多条
     *
     * @param busiId 业务id
     * @throws RuntimeException ${@link RuntimeException}
     * @return List<SafeCredentialInfoDto> ${@link List<SafeCredentialInfoDto>}
     * @author code generation
     * @date 2020-02-24 18:08:13
     */
    List<SafeCredentialInfoDto> selectListByModel(String busiId) throws RuntimeException;
}